package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 组织同步对象 dz_deptsync
 * 
 * @author ruoyi
 * @date 2022-10-31
 */
public class DzDeptsync extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 同步组织id */
    private Long zzId;

    /** 组织主键 */
    @Excel(name = "组织主键")
    private String unitCode;

    /** 组织机构编码 */
    @Excel(name = "组织机构编码")
    private String unitNo;

    /** 组织名称 */
    @Excel(name = "组织名称")
    private String unitName;

    /** 父组织id */
    @Excel(name = "父组织id")
    private String parentUnit;

    /** 排序 */
    @Excel(name = "排序")
    private String unitOrder;

    /** 数据分类：1组织机构；2院系专业班级 */
    @Excel(name = "数据分类：1组织机构；2院系专业班级")
    private String kind;

    /** 院系专业类型：f院系；s专业；c班级 */
    @Excel(name = "院系专业类型：f院系；s专业；c班级")
    private String type;

    /** 自有平台组织id */
    @Excel(name = "自有平台组织id")
    private Long deptId;

    /** 妇组织路径 */
    @Excel(name = "妇组织路径")
    private String unitPath;

    /** 组织路径名称 */
    @Excel(name = "组织路径名称")
    private String unitPathName;

    public void setZzId(Long zzId) 
    {
        this.zzId = zzId;
    }

    public Long getZzId() 
    {
        return zzId;
    }
    public void setUnitCode(String unitCode) 
    {
        this.unitCode = unitCode;
    }

    public String getUnitCode() 
    {
        return unitCode;
    }
    public void setUnitNo(String unitNo) 
    {
        this.unitNo = unitNo;
    }

    public String getUnitNo() 
    {
        return unitNo;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setParentUnit(String parentUnit) 
    {
        this.parentUnit = parentUnit;
    }

    public String getParentUnit() 
    {
        return parentUnit;
    }
    public void setUnitOrder(String unitOrder) 
    {
        this.unitOrder = unitOrder;
    }

    public String getUnitOrder() 
    {
        return unitOrder;
    }
    public void setKind(String kind) 
    {
        this.kind = kind;
    }

    public String getKind() 
    {
        return kind;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUnitPath(String unitPath) 
    {
        this.unitPath = unitPath;
    }

    public String getUnitPath() 
    {
        return unitPath;
    }
    public void setUnitPathName(String unitPathName) 
    {
        this.unitPathName = unitPathName;
    }

    public String getUnitPathName() 
    {
        return unitPathName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("zzId", getZzId())
            .append("unitCode", getUnitCode())
            .append("unitNo", getUnitNo())
            .append("unitName", getUnitName())
            .append("parentUnit", getParentUnit())
            .append("unitOrder", getUnitOrder())
            .append("kind", getKind())
            .append("type", getType())
            .append("deptId", getDeptId())
            .append("unitPath", getUnitPath())
            .append("unitPathName", getUnitPathName())
            .toString();
    }
}
